package com.guo.core.framework.tomcatStudy;

import lombok.SneakyThrows;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.*;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName CsvToSqlConverter
 * @Description csv转sql
 * @Author xqy
 * @Date 2023/8/21 14:39
 * @Version 1.0
 */
public class Test {

    public static void main(String[] args) {

        ClassPathXmlApplicationContext classPathXmlApplicationContext=new ClassPathXmlApplicationContext("config/test.xml");
        classPathXmlApplicationContext.refresh();
        Object aaa = classPathXmlApplicationContext.getBean("userDao");
        System.out.println(aaa);

    }
}